package com.mongo.jdbc.example;

import org.springframework.beans.factory.config.BeanDefinition;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.data.mongo.MongoDataAutoConfiguration;
import org.springframework.boot.autoconfigure.mongo.MongoAutoConfiguration;
import org.springframework.context.annotation.AnnotationBeanNameGenerator;


/**
 * 
 * @author:binggong
 * @createtime: 2023年12月10日 下午7:09:08 
 * @version:V.0.1
 * @tag: springboot+mybaits+mongodb 融合案例，入口类 
 *
 */
@SpringBootApplication
public class Application {

	  public static void main(String[] args) {
	        // TODO Auto-generated method stub
		  
	        SpringApplication.run(Application.class, args);
	    }

	    public static class SpringBeanNameGenerator extends AnnotationBeanNameGenerator {
	        @Override
	        protected String buildDefaultBeanName(BeanDefinition definition) {
	            return definition.getBeanClassName();
	        }
	    }
}


